<?php
//设计师入围修复
ini_set('display_errors', 1);
error_reporting(-1);
require_once '/data/wwwroot/g_vendor/autoload.php';



use Biz\model\designerAward\Sign as mSign;
use Biz\model\designerAward\User as mDesignerAwardUser;


//todo 查询设计师用户
$uids = mDesignerAwardUser::select('uid', ['types' => mDesignerAwardUser::USER_TYPE_DESIGNER]);

//todo 修改设计师作品状态
$signs = mSign::update(['check_status' => mSign::CHECK_STATUS_CONFIRM], ['uid' => $uids, 'memo[~]' => '入围']);
var_dump($signs->rowCount());







